{% extends "base.html" %}
{% block head %}{% end %}
{% block title %}登录与注册{% end %}
{% block content %}
<div id="signin">
<h2>登录</h2>
<form action="signin/" method="post">
<p><label for="signin_username">用户名</label></p>
<p><input type="text" name="username" id="signin_username" /></p>
<p><label for="signin_password">密码</label></p>
<p><input type="password" name="password" id="signin_password" /></p>
<p><input type="submit" value="登录" /></p>
</form>
</div>
<div id="signup">
<h2>注册</h2>
<form action="signup/" method="post">
<p><label for="signup_username">用户名</label></p>
<p><input type="text" name="username" id="signup_username" /></p>
<p><label for="signup_email">E-mail</label></p>
<p><input type="email" name="email" id="signup_email" /></p>
<p><label for="signup_password">密码</label></p>
<p><input type="password" name="password" id="signup_password" /></p>
<p><label for="repeat_password">再输一遍密码</label></p>
<p><input type="password" name="password_repeat" id="repeat_password" /></p>
<p><input type="submit" value="注册" /></p>
</form>
</div>
{% end %}
